package com.jinly.ryder.flow.dao.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jinly.ryder.common.dao.entity.BaseDO;
import com.jinly.ryder.flow.service.model.AuditResult;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 流程审核表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "flow_audit", autoResultMap = true)
public class FlowAuditDO extends BaseDO {

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 申请ID
     */
    @TableField(value = "apply_id")
    private Long applyId;

    /**
     * 审核步骤名称
     */
    @TableField(value = "flow_step_name")
    private String flowStepName;

    /**
     * 审核人
     */
    @TableField(value = "audit_user_id")
    private Long auditUserId;

    /**
     * 审核结果
     */
    @TableField(value = "audit_result")
    private AuditResult auditResult;

    /**
     * 审核备注
     */
    @TableField(value = "remark")
    private String remark;

}
